﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Space
{
    interface IData
    {
        IEnumerable<SolarSystem> SolarSystems { get; }
        IEnumerable<Ship> Ships { get; }
        IEnumerable<Player> Players { get; }
        IEnumerable<Weapon> Missiles { get; }
        Player MainPlayer { get; }
        Player NeutralPlayer { get; }

        void CreateGame(int numSolar, int planetPerSolar, int playerPerSolar);
        void AddPlayer(SolarSystem solarSystem, string name, Color color, Vector3 position, string homeworld);
        void AddPlanet(SolarSystem solarSystem, string name, Player player, float productionInterval = 1, int population = 0);

        void AddShip(Ship ship);
        void AddWeapon(Weapon weapon);

        void CreateLevel(int level);
    }
}
